<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>"><!-- 加上这个，下面form中的访问路径前会加上项目名 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>test</title>
</head>
<body>
	this is test jsp2

	<form action="userController/test1.do" method="post">
		<input value="test1" type="submit" />
	</form>
	<form action="userController/test2.do" method="post">
		<input value="test2" type="submit" />
	</form>
	<form action="userController/test3.do" method="post">
		<input value="test3" type="submit" />
	</form>
	<form action="userController/test4.do" method="post">
		<input value="test4" type="submit" />
	</form>
</body>
</html>